using System;
using System.Collections.Generic;

namespace SharpWind.Graphics.Models
{
	public class Animation
	{
		#region Fields

		private List<Keyframe> keyframes = null;

		private TimeSpan duration = TimeSpan.MinValue;

		#endregion

		#region Constructors

		public Animation( TimeSpan duration, List<Keyframe> keyframes )
		{
			this.keyframes	= keyframes;
			this.duration	= duration;
		}

		#endregion

		#region Properties

		public TimeSpan Duration
		{
			get
			{
				return this.duration;
			}
		}

		public List<Keyframe> Keyframes
		{
			get
			{
				return this.keyframes;
			}
		}

		#endregion
	}
}
